<template>
  <div class="container">
    <!-- 顶部的全局组件 -->
    <HospitalTop />
    <!-- 展示路由组件 -->
    <div class="content">
      <router-view />
    </div>
    <HospitalBottom />
  </div>
</template>

<script setup lang="ts">
// import request from '@/utils/request';
// import { onMounted } from 'vue';

// onMounted(() => {
//   request.get('/hosp/hospital/1/10').then(res => {
//     console.log(res);

//   })
// })
</script>

<style scoped lang="scss">
.container {
  display: flex;
  flex-direction: column;
  align-items: center;

  .content {
    margin-top: 70px;
    width: 1200px;
    min-height: 700px;
    // background: red;
  }

}
</style>